package satir.framework.graph;

import java.util.ArrayList;

/**
 * The Class Person.
 * @version 3.0 April 2012
 * @author Creative Family
 */
public class Person {

    /** The name. */
    private String name;

    /** The data list. */
    private ArrayList<Data> dataList;

    /**
     * Instantiates a new person.
     * @param name
     *            the name
     */
    public Person(final String name) {
	this.name = name;
	dataList = new ArrayList<Data>();
    }

    /**
     * Adds the data.
     * @param data
     *            the data
     */
    public void addData(final Data data) {
	dataList.add(data);
    }

    /**
     * Gets the name.
     * @return the name
     */
    public String getName() {
	return this.name;
    }

    /**
     * Gets the data list.
     * @return the data list
     */
    public ArrayList<Data> getDataList() {
	return dataList;
    }
}
